package com.woniuxy.springboot.readconfig.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Component
@Data
@ConfigurationProperties(prefix = "org.giles")
public class User {
    private String name;
    private Integer password;
    private String[] array;
    private List<String> list;
    private Set<String> set;
    private Map<String, String> map;
    private List<Phone> phones;
    private String introduce;
    private Date date;
}
